<%@ page import="Worker.WorkerDao" %>
<%@ page import="java.util.ArrayList" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/8/24
  Time: 21:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改课程信息</title>
    <link href="/SystemerNav/SystemerNav.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<%
    WorkerDao workerDao=new WorkerDao();
    ArrayList<String> list=workerDao.getWorkerNo("教师");
%>
</head>
<body background="/LoginInterface/loginFace.jpg" >
<div class="container">
    <div class="top">
<form action="/TeachLesson/updateteachLessonServlet">
    <div class="form-group">
        <label for="exampleInputEmail1">旧工号</label>
        <input type="text" class="form-control" id="exampleInputEmail1" name="workerNo"  value="<%=request.getParameter("workerNo")%>" readonly>
    </div>

    <div class="form-group">
        <label>课程号</label>
        <input type="text" name="courseNo" class="form-control" id="exampleInputPassword2" value="<%=request.getParameter("courseNo")%>" readonly>
    </div>
    <select class="form-control" name="workerNoNew">
        <%
           for (String temp:list){
               %>
           <option value="<%=temp%>"><%=temp%></option>
        <%
           }
        %>

    </select>
    <button type="submit" class="btn btn-default">提交</button>
</form>
    </div>
</div>
</body>
</html>
